def fac(n):
     i=1
     s=1
     while i<=n:
          s*=i
          i+=1
     return s
n,m=map(int,input().split())
f=fac(n)/(fac(m)*fac(n-m))
print(f)